package com.ib.algokit.forex;

import com.ib.algokit.Recommendation;

public class KnowledgeResult {

	private Recommendation recommendation;	
	
	private double minutestToWait;
	
	public Recommendation getRecommendation() {
		return recommendation;
	}
	public void setRecommendation(Recommendation recommendation) {
		this.recommendation = recommendation;
	}
	public double getMinutestToWait() {
		return minutestToWait;
	}
	public void setMinutestToWait(double minutestToWait) {
		this.minutestToWait = minutestToWait;
	}
	public KnowledgeResult(Recommendation recommendation, double minutestToWait) {
		this.recommendation = recommendation;
		this.minutestToWait = minutestToWait;
	}
	
    @Override
    public String toString() {
		String ret= recommendation==null?"":(recommendation+"\t");
		ret +=  minutestToWait==0?"":(minutestToWait);
		return ret;
	}
}
